﻿<!DOCTYPE html>
<html>
	<head>
	    <#include "htmlHead.ftl">
	    <!-- css -->
	     <#if !global.js_debug??>
	     <link rel="stylesheet" href="${rc.getContextPath()}/resources/js/zTree_v3-3.5.24/css/zTreeStyle/zTreeStyle.css" />
	    </#if>
		<title>流程中心</title>
	</head>

	<body>
	    <#include "view/portal/navbar.html">
	   	<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>
                <#include "view/portal/sidebarMenu.html">
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb" id="breadcrumb" ms-controller="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#!index">首页</a>
							</li>
							<li ms-for="(index,el) in @data"  ms-class="{active:index==@data.length-1}">
							     <a ms-if="@hasHref(index,el)" ms-attr="{href:el.href}" ms-html="el.name"></a>
						          <span ms-if="!@hasHref(index,el)"  ms-html="el.name"></span>	     
							</li>
						</ul><!-- .breadcrumb -->
                    
						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="icon-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- #nav-search -->
					</div>

					<div class="page-content">
						<div class="row" id="workspace">
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
                <#include "aceSettings.ftl">
			</div><!-- /.main-container-inner -->
            <#include "scrollUp.ftl">
		</div><!-- /.main-container -->
		
<#if !global.js_debug??>
<script src="${rc.getContextPath()}/assets/vendor.js"></script>
<script src="${rc.getContextPath()}/assets/common.chunk.js"></script>
<script src="${rc.getContextPath()}/assets/index.js"></script>
</#if>
 
<script type="text/javascript">
var index;
$(function(){
	<#if global.js_debug??>
    seajs.use(['resources/template/portal/index.js'], function(Index){
    </#if>
        index=new Index({
            baseUrl:"${rc.getContextPath()}",
            userId:1,
            userName:'${user.account!undefined}',
            org:{
                id:1,
                name:'${org.name}',
                code:'${org.code}'
            }
        });
    <#if global.js_debug??>  
    });
    </#if>
});
</script>

</body>
</html>

